package com.ljm.common;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

public class CustomerBlockHandler {

    /*    返回 String 类型提示   */
    public  static  String textException01( BlockException exception){
        return "------------当前人山人海，请稍后再试！！！  o(╥﹏╥)o";
    }
    /*   返回同样格式的工具类  R   */
    public  static  R textException02(BlockException exception){

        return R.ok().message(" 当前人山人海，请稍后再试！！！  textException02  ");
    }

}

